package com.example.springalibabacloudmonitor;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
@EnableAdminServer
public class SpringAlibabaCloudMonitorApplication {

    /**
     * 访问 127.0.0.1: 即可访问监控画面
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(SpringAlibabaCloudMonitorApplication.class, args);
    }

}
